package com.ithhc.learning.adapter;

/**
 * @Author 洪小才
 * @Description
 * @Date Created in 10:45  2018-06-28
 * @Modified By
 **/
public class Client {

    public static void main(String[] args) {
        SmallPort smallPort = ()-> {System.out.println("电脑使用的是小口");};
        BigPort bigPort = new SmallToBig(smallPort);
        bigPort.useBigPort();
    }
}
